package com.sca.order.constant;

/**
 * @author liuxianfei
 * @since 2020/10/30 12:36
 */
public interface RedisKeyConstant {

    String AUTH_STR_USER_TOKEN = "AUTH_USER_TOKEN:UID:";

    String ORDER_STR_SECKILL = "SECKILL:GID:";

    /**
     * k:userId
     * v:1
     */
    String ORDER_HASH_USER_SECKILL = "SECKILL_GID_UID";

    String ORDER_STR_SECKILL_TEMP = "SECKILL_TEMP:ORDERNUM:";

    String GOOD_STR_CACHE = "GOOD:GID:";

    String STOCK_STR_LOCK = "STOCK_LOCK";

}
